<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定位模式</title>
    <style>
        .box{
            height: 1000px;
            width: 1980px;
            background-color: skyblue;
        }
        .little{
            height: 100px;
            width: 100px;
            background-color: black;
            /* position: relative; 相对定位*/
            /* position: static; 静态定位 */
            /* position: fixed; 固定定位 */
            /* position: absolute; 绝对定位 */
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="little"></div>
    </div>
</body>
</html>